import request from '@/utils/request'

// 获取全部物资
export function getDepartmentList(data) {
    return request({
        url: '/basic/department/DepartmentList',
        method: 'post',
        data
    })
}

// 提交物资出库
export function submitOutForm(data) {
    return request({
        url: '/outWarehouse/outForm/submitOutForm',
        method: 'post',
        data
    })
}

// 获取待审核出库列表
export function getUnreviewedPage(data) {
    return request({
        url: '/outWarehouse/outForm/getUnreviewedPage',
        method: 'post',
        data
    })
}

// 出库审核
export function audit(data) {
    return request({
        url: '/outWarehouse/outForm/audit',
        method: 'post',
        data
    })
}